package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderLogDao;
import com.appkubes.mall.core.entity.MallOrderLog;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderLogService extends AbstractBaseService<BaseMallOrderLogDao, MallOrderLog> {

    MallOrderLog getOneByEntity(MallOrderLog entity);

    List<MallOrderLog> selectListByEntity(MallOrderLog entity);

    IPage<MallOrderLog> selectPageByEntity(IPage<MallOrderLog> page);
    IPage<MallOrderLog> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderLog> selectPageByEntity(MallOrderLog entity, IPage<MallOrderLog> page);
    IPage<MallOrderLog> selectPageByEntity(MallOrderLog entity, PageVO pageVO);

    IPage<MallOrderLog> selectPageByEntity(MallOrderLog entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderLog entity);
}
